package cn.zcy.springboot_springsecurity.mapper;

import cn.zcy.springboot_springsecurity.domain.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Users record);

    Users selectByPrimaryKey(Integer id);

    List<Users> selectAll();

    int updateByPrimaryKey(Users record);

    Users selectByUsersName(@Param("username") String username);
}
